package cn.tedu._04mybatis.pojo.entity;

import java.util.Date;

public class orders {
    private String orderId;
    private String custId;
    private Date orderDate;
    private Integer status;
    private Integer productsNum;
    private Double amt;

    public orders() {
    }

    public orders(String orderId, String custId, Date orderDate, Integer status, Integer productsNum, Double amt) {
        this.orderId = orderId;
        this.custId = custId;
        this.orderDate = orderDate;
        this.status = status;
        this.productsNum = productsNum;
        this.amt = amt;
    }

    /**
     * 获取
     * @return orderId
     */
    public String getOrderId() {
        return orderId;
    }

    /**
     * 设置
     * @param orderId
     */
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取
     * @return custId
     */
    public String getCustId() {
        return custId;
    }

    /**
     * 设置
     * @param custId
     */
    public void setCustId(String custId) {
        this.custId = custId;
    }

    /**
     * 获取
     * @return orderDate
     */
    public Date getOrderDate() {
        return orderDate;
    }

    /**
     * 设置
     * @param orderDate
     */
    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    /**
     * 获取
     * @return status
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 获取
     * @return productsNum
     */
    public Integer getProductsNum() {
        return productsNum;
    }

    /**
     * 设置
     * @param productsNum
     */
    public void setProductsNum(Integer productsNum) {
        this.productsNum = productsNum;
    }

    /**
     * 获取
     * @return amt
     */
    public Double getAmt() {
        return amt;
    }

    /**
     * 设置
     * @param amt
     */
    public void setAmt(Double amt) {
        this.amt = amt;
    }

    public String toString() {
        return "orders{orderId = " + orderId + ", custId = " + custId + ", orderDate = " + orderDate + ", status = " + status + ", productsNum = " + productsNum + ", amt = " + amt + "}";
    }
}
